PROJECT(hanabiraparser)
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR}
					${CMAKE_SOURCE_DIR}/boardparsers)

SET(hanabiraparser_sources
	hanabiraparser.cpp)

SET(hanabiraparser_headers
	hanabiraparser.h)

QT4_WRAP_CPP(hanabiraparser_moc ${hanabiraparser_headers})

ADD_LIBRARY(hanabiraparser MODULE ${hanabiraparser_sources} ${hanabiraparser_moc})
TARGET_LINK_LIBRARIES(hanabiraparser ${QT_LIBRARIES} ${spelling_libs} wm)
SET_TARGET_PROPERTIES(hanabiraparser PROPERTIES LIBRARY_OUTPUT_DIRECTORY ..)

INSTALL(TARGETS hanabiraparser LIBRARY DESTINATION ${LIBDIR}/plugins/boardparsers)

